﻿@model List<FairyWorld.Models.Logs>

@{
    ViewBag.Title = "LogManager";
    Layout = "~/Views/Shared/UserLayout.cshtml";
}
<script>
    $(document).ready(function () {
        $("#logsli").attr("class", "active");
    })
</script>
<style type="text/css">
    .wrapper {
        width: 930px;
        background-color: #fff;
        position: relative;
        box-shadow: 1px 1px 4px rgba(0,0,0,0.4);
        -moz-box-shadow: 1px 1px 4px rgba(0,0,0,0.4);
        -webkit-box-shadow: 1px 1px 4px rgba(0,0,0,.4);
        padding: 20px;
    }
</style>
<h3>操作日志</h3>
<div class="wrapper">
    <table class="table table-hover">
        <tr>
            <th class="span2">
                操作人
            </th>
            <th class="span4">
                事件描述
            </th>
            <th class="span3">
                事件发生时间
            </th>
        </tr>

    @foreach (var item in Model) {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.user)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.description)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.time)
            </td>
        </tr>
    }
    </table>

</div>
